package com;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.SpringBootVersion;
import org.springframework.core.SpringVersion;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
public class test {
    public class SpringVersionTest {
        @Test
        public void getSpringVersion() {
            String version = SpringVersion.getVersion();
            String version1 = SpringBootVersion.getVersion();
            System.out.println(version);
            System.out.println(version1);
        }
    }
}
